/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: LightReceiver
 * @author: xiayuanxing
 * @description: TODO
 * @date: 2022/1/4 11:21
 * @version: 1.0
 */
public class LightReceiver {

    public void on(){
        System.out.println("电灯打开了~~~");
    }


    public void off(){
        System.out.println("电灯关闭了~~~");
    }
}
